<?xml version="1.0"?>
<Template originator = "Dave Thomas">

	<!-- Template Header -->
	<TemplateConfiguration>
		<_Name>NUnit Library Project</_Name>
		<Category>other/net/general</Category>
		<Icon>md-test-project</Icon>
		<Image id="md-test-project" />
		<_Description>Creates an F# NUnit library.</_Description>
		<LanguageName>F#</LanguageName>
		<DefaultFilename>NUnitProject</DefaultFilename>
		<GroupId>md-nunit-library</GroupId>
	</TemplateConfiguration>

	<!-- Actions -->
	<Actions>
		<Open filename = "Test.fs"/>
	</Actions>

	<!-- Template Content -->
	<Combine name = "${ProjectName}" directory = ".">
		<Options>
			<StartupProject>${ProjectName}</StartupProject>
		</Options>

		<Project name = "${ProjectName}" directory = ".">
			<Options Target = "Library" TargetFrameworkVersion="4.5.1" />

			<References>
				<Reference type="Package" refto="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
				<Reference type="Package" refto="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
				<Reference type="Package" refto="System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
			</References>

			<Packages requireLicenseAcceptance="false">
				<Package Id="FSharp.Core" Version="4.5.4" local="true" />
				<Package id="NUnit" version="2.6.4" />
			</Packages>

			<Files>
				<File name="Test.fs">
<![CDATA[namespace ${Namespace}
open System
open NUnit.Framework

[<TestFixture>]
type Test() =

    [<Test>]
    member x.TestCase() =
        Assert.IsTrue(true)
]]>
             	</File>
			</Files>
		</Project>
	</Combine>
</Template>
